<!DOCTYPE html>
<html lang="zh-cn">
<head>
        <meta charset="utf-8">
        <title>政府公文流转系统</title>
        <!-- zui -->
        <link href="__CSS__/zui.min.css" rel="stylesheet">
        <style type="text/css">
            h1{
                text-align: center;
                color:#ccc;
            }
        </style>
</head>
<body>
    <div class="container">
    <div style="float:right;margin-top:15px;"><a href="{:url('Index/index')}" class="btn btn-info " >退出登录</a></div>
        <div class="head">
            <h1 >南阳市政府公文流转系统</h1>
            <nav class="navbar navbar-default" role="navigation">
                <ul class="nav navbar-nav nav-justified">
                    <li class="active"><a href="{:url('index/ClassName/index')}"> 部门列表</a></li>
                    <li><a href="{:url('index/ClassName/addclass')}"> 添加部门</a></li>
                </ul>
            </nav>
        </div>
        <div > 
            <div class="example">
                <table class="table table-hover">
                    <thead>
                      <tr>
                        <th>部门编号</th>
                        <th>部门名称</th>
                        <th>父级部门编号</th>
                        <th>查看人员信息</th>
                        <th>操作</th>
                      </tr>
                    </thead>
                    <tbody>
                        {volist name="classList" id="vo"}
                        <tr>
                            <td>
                                {$vo.id}
                            </td>
                            <td>
                                {$vo.name}
                            </td>
                            <td>
                                {$vo.pid}
                            </td>
                            <td>
                                <a href="{:url('ClassName/gouserlist',['id'=>$vo.id])}" class="btn btn-info"><span class="icon icon-user"></span>查看人员信息</a>
                            </td>
                            <td>
                                <a href="{:url('ClassName/goeditclass',['id'=>$vo.id])}" class="btn btn-warning">更改部门信息</a>
                                <a href="{:url('ClassName/del',['id'=>$vo.id])}" class="btn btn-danger">删除部门</a>
                            </td>
                        </tr>
                        {/volist}
                    </tbody>
                    </table>
            </div> <!--表单div结束-->
        </div>
    </div>
    <!-- jQuery (ZUI中的Javascript组件依赖于jQuery) -->
    <script src="__JS__/jquery-2.1.4.min.js"></script>
    <!-- ZUI Javascript组件 -->
    <script src="__JS__/zui.min.js"></script>
    <script type="text/javascript">
        
    </script>

</body>
</html>